//token封装

//取token
export function getToken(){
    return localStorage.getItem("token")
    // return sessionStorage.getItem("token")
}
//存token  放一个形参接收传过来的token存
export function setToken(token){
    return localStorage.setItem("token",token)
    // return sessionStorage.setItem("token",token)
}
//删token
export function removeToken(){
    return localStorage.removeItem("token")
    // return sessionStorage.removeItem("token")
}
